using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MMM.Core.Domain;
using ServiceStack.ServiceHost;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using ServiceStack.DataAnnotations;

namespace MMM.Services.Type
{
    /// <summary>
    /// 类描述
    /// </summary>
    [Serializable]
    [Route("/api/bagmanageinfo", "POST")]
    public class BagManageInfo : EntityBase<BagManageInfo>
    {
        /// <summary>
        /// 企业ID
        /// </summary>
        public Guid? CompanyID { get; set; }
        /// <summary>
        /// 城市
        /// </summary>
        [StringLength(50)]
        [Index]
        public String AreaName { get; set; }
        /// <summary>
        /// 产品
        /// </summary>
        [StringLength(50)]
        [Index]
        public String Product { get; set; }
        /// <summary>
        /// 产品类型
        /// </summary>
        public string ProductType { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public double Price { get; set; }
        /// <summary>
        /// 合同编号
        /// </summary>
        [StringLength(50)]
        public String ContractCode { get; set; }
        /// <summary>
        /// 城市编号
        /// </summary>
        [StringLength(50)]
        public String AreaCode { get; set; }
        /// <summary>
        /// 产品ID
        /// </summary>
        public Guid? ProductID { get; set; }

        public bool IsAdd { get; set; }
    }
}
